package org.hackystat.ui.projectviewer.gwt.client.common.types;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Basic envelope to send properties.
 * 
 * @author Pavel Senin.
 * 
 */
public class ProjectViewerProperties implements IsSerializable {

  /** The sensorbase host var. */
  private String sensorbaseHost;
  /** The DPD host var. */
  private String dpdHost;
  /** The Telemetry host var. */
  private String telemetryHost;
  /** The User name. */
  private String username;
  /** The User password. */
  private String password;

  /**
   * Constructor.
   */
  public ProjectViewerProperties() {
    this.sensorbaseHost = null;
    this.dpdHost = null;
    this.telemetryHost = null;

  }

  /**
   * Sets sensorbase host.
   * 
   * @param sbHost The sensorbase host.
   */
  public void setSensorbaseHost(String sbHost) {
    this.sensorbaseHost = sbHost;
  }

  /**
   * Reports sensorbase host.
   * 
   * @return The sensorbase host.
   */
  public String getSensorbaseHost() {
    return this.sensorbaseHost;
  }

  /**
   * Sets DPD host.
   * 
   * @param dpdHost The DPD host.
   */
  public void setDPDHost(String dpdHost) {
    this.dpdHost = dpdHost;
  }

  /**
   * Reports DPD host.
   * 
   * @return The DPD host.
   */
  public String getDPDHost() {
    return this.dpdHost;
  }

  /**
   * Sets Telemetry host.
   * 
   * @param tHost The Telemetry host.
   */
  public void setTelemetryHost(String tHost) {
    this.telemetryHost = tHost;
  }

  /**
   * Reports Telemetry host.
   * 
   * @return The Telemetry host.
   */
  public String getTelemetryHost() {
    return this.telemetryHost;
  }

  /**
   * Sets username.
   * 
   * @param uname The Telemetry host.
   */
  public void setUserName(String uname) {
    this.username = uname;
  }

  /**
   * Reports username.
   * 
   * @return The User name.
   */
  public String getUserName() {
    return this.username;
  }

  /**
   * Sets user password.
   * 
   * @param upass The user password.
   */
  public void setUserPass(String upass) {
    this.password = upass;
  }

  /**
   * Reports user password.
   * 
   * @return The user password.
   */
  public String getUserPass() {
    return this.password;
  }

  
}
